package com.neusoft.neuiotms.dcam.workflow.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.auth.common.bean.UserBean;
import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcam.workflow.dto.JieyongConfrimSLDTO;
import com.neusoft.neuiotms.dcam.workflow.dto.JieyongSLDTO;

public interface JieyongSLService {

    JieyongSLDTO create(JieyongSLDTO dto, UserBean user);

    JieyongSLDTO detail(String workOrderNum, String taskId, UserBean user);

    List<JieyongConfrimSLDTO> confrimCreate(List<JieyongConfrimSLDTO> dto, UserBean user);

    JieyongSLDTO confrimDetail(String workOrderNum, String taskId, UserBean user);

    List<JieyongConfrimSLDTO> distributeCreate(List<JieyongConfrimSLDTO> dto, UserBean user);

    JieyongSLDTO distributeDetail(String workOrderNum, String taskId, UserBean user);

    List<JieyongSLDTO> search(Searchable searchable);

    Page<JieyongSLDTO> search(Pageable pageable, Searchable searchable);

    JieyongSLDTO detail(Long id);

    void reject(String workOrderNum);

}
